<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<div id="box1">
    <div id="box2">
        <div id="box3">
            <p id="'info">Lorem ipsum dolor sit amet.</p>
            <ul>
                <li class="item1">item-1</li>
                <li class="item2">item-2</li>
                <li class="item3">item-3</li>
                <li class="item4">item-4</li>
                <li class="item5">item-5</li>
                <li class="item6">item-6</li>
                <li class="item7">item-7</li>
                <li class="item8" >item-8</li>
                <li class="item9">item-9</li>
            </ul>
        </div>
    </div>
</div>
<script src="/vendor/jquery-1.12.4.js"></script>
<script>
    $(function () {
        console.log($('li').each(function (index,domElemnt) {
            this.title=this.innerHTML

        }))
    })
</script>
</body>
</html>